package com.ddwl.schema.vo.goods.bargain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * @Author hemiaojun
 * @Date 2020/11/6 14:37
 */
@Getter
@Setter
@ApiModel("砍价活动配置vo")
public class BargainConfigVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("店铺id")
    private String shopId;

    @ApiModelProperty("用户砍价限制次数")
    private Integer limitTimes;

    @ApiModelProperty("限制周期 1：天，2：周")
    private Integer limitPeriod;

    @ApiModelProperty("困难模式金额限额")
    private BigDecimal hardModeMoney;

    @ApiModelProperty("困难模式成功订单数量限额")
    private Integer hardModeOrder;

    @ApiModelProperty("难度倍率（整数）")
    private Integer hardRate;

    @ApiModelProperty("是否开启 0：开启，1：关闭")
    private Integer enable;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

}
